package com.bestv.search.common.dao;

import com.bestv.search.common.model.TargetType;

import java.util.List;

public interface TargetTypeDao extends GenericDao<TargetType, Long> {

    List<TargetType> getTargetTypes();

    TargetType getTargetById(Long id);

    TargetType getTargetByName(String name);

    TargetType saveTargetType(TargetType targetType);
}
